﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartMotion.Core;
using Sunny.UI;

namespace Station
{
    /// <summary>
    /// MC是MotionController的缩写，其他的工站还有机器人工站RobotStation,PLC工站，PLCStation等等
    /// </summary>
    [ReflectAble]
    public class MCStation:StationBase
    {
        public override UIPage GetConfigPage()
        {
            return new MCStationConfig(this);
        }

        public override UIPage DebugPage()
        {
            return new MCDebug(this);
        }

        public override bool Home(int axis)
        {
            throw new NotImplementedException();
        }

        public override bool Home(int[] axises)
        {
            throw new NotImplementedException();
        }

        public override List<double> GetPoint()
        {
            throw new NotImplementedException();
        }
        [ParaPage(typeof(FrmActionItem))]
        public override bool MovePoint(int[] axis, double[] targetPosition, double speed, bool relMove = false, bool interpolation = false,
            int overTime = 10000)
        {
            return true;
        }

    }
}
